package com.fsi.client.util;

import com.fsi.client.ApplicationService;
import com.fsi.client.ApplicationServiceAsync;
import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.rpc.AsyncCallback;

public class MyLog {
	private final static ApplicationServiceAsync service = GWT
			.create(ApplicationService.class);

	public static void log(String msg) {

		service.logClientMsg(msg, new AsyncCallback<Void>() {

			@Override
			public void onFailure(Throwable caught) {
				caught.getStackTrace();
			}

			@Override
			public void onSuccess(Void result) {

			}
		});
	}

}
